"""
from demo.models import WebGLModel
from demo.models import Comment
from django.contrib import admin

class GLAdmin(admin.ModelAdmin): #['mod_name', 'mod_loc', 'pub_date', 'gl_matrix']
    #fields = ['mod_name', 'mod_loc', 'pub_date', 'gl_matrix']
    fieldsets = [
        ('Model Name',               {'fields': ['mod_name']}),
        ('Model Specifications', {'fields': ['pub_date', 'mod_loc', 'gl_matrix'], 'classes': ['collapse']}),
    ]
    list_display = ['mod_name', 'pub_date', 'mod_loc', 'gl_matrix']
    list_filter = ['mod_name']
    search_fields = ['mod_name']
    
admin.site.register(WebGLModel, GLAdmin)

class CommentAdmin(admin.ModelAdmin):
    fieldsets = [
        ('Comment Information', {'fields': ['content', 'com_date']}),
    ]
    list_display = ['com_date', 'content']
    list_filter = ['com_date']
    search_fields = ['content']
    
admin.site.register(Comment, CommentAdmin)
"""